<?php

class Application_Form_Oedit extends Zend_Form
{

    public function init()
    {
        /* Form Elements & Other Definitions Here ... */
    	$this->setName('Oedit');
    	
    	$order_no = new Zend_Form_Element_Text('order_no');
    	$order_no->setLabel('Order Number')
    	->addFilter('StripTags')
    	->addFilter('StringTrim');
    	
    	$order_date = new Zend_Form_Element_Text('order_date');
    	$order_date->setLabel('Order Date')
    				->addFilter('StripTags')
    				->addFilter('StringTrim');
    	
    	$cust_no = new Zend_Form_Element_Text('cust_no');
    	$cust_no->setLabel('Customer Number')
    			->addFilter('StripTags')
    				->addFilter('StringTrim');
    	
    	$cust_name = new Zend_Form_Element_Text('cust_name');
    	$cust_name->setLabel('Cusomer Name')
    				->addFilter('StripTags')
    				->addFilter('StringTrim');
    	
    	$cust_address = new Zend_Form_Element_Text('cust_address');
    	$cust_address->setLabel('Customer Address')
    				->addFilter('StripTags')
    				->addFilter('StringTrim');
    	 	
    	
    	
    	$this->addElements(array($order_no, $order_date, $cust_no, $cust_name, $cust_address));
    }


}
